package requests

type Comment struct {
	Content  string `form:"content" json:"content" binding:"required"`
	ThreadID int    `form:"thread_id" json:"thread_id" binding:"required"`
	Username string `form:"username" json:"username" binding:"omitempty"`
	Avatar   string `form:"avatar" json:"avatar" binding:"omitempty"`
}

type CommentList struct {
	ThreadID int `form:"thread_id" json:"thread_id" binding:"omitempty"`
	Limit    int `form:"limit" json:"limit" binding:"omitempty"`
	Page     int `form:"page" json:"page" binding:"omitempty"`
}

type CommentZan struct {
	CommentID int `form:"comment_id" json:"comment_id" binding:"required"`
	UserID int `form:"user_id" json:"user_id" binding:"omitempty"`
}
